<?php
declare (strict_types = 1);

namespace app\third\controller\api;

class Auth
{
    /**
     * 上报code登陆
     * @return int[]
     */
    public function code()
    {
        //用户上报code

        //检查
        return [
            'token' =>112,
            'type' => 1
        ];
    }

    /**
     * 绑定微信
     */
    public function bind()
    {
        //已登陆用户绑定

    }

    public function login()
    {

    }
}
